package com.caixin.common.response;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 公共返回对象枚举
 *
 * @author Administrator
 * @version 1.0.0
 * @createTime 2021年12月04日 17:37
 */
@Getter
@AllArgsConstructor
public enum CommonResultEnum {
    SUCCESS(200, "操作成功！"),
    FAIL(400,"操作失败！"),
    NOTFOUND(404, "访问内容不存在！"),
    ERROR(500, "系统内部错误！"),
    VALIDATE(600,"参数校验失败！");


    private final Integer code;
    private final String message;
}
